package com.sls.sys.dao;

import java.util.List;

import com.sls.page.Pagination;
import com.sls.sys.pojo.RoleInfo;
import com.sls.sys.querybean.RoleInfoQuery;

public interface RoleInfoDAO {
	public void insert(RoleInfo roleInfo);

	public void deleteById(String id);

	public void updateById(RoleInfo roleInfo);

	public RoleInfo findById(String id);

	public Pagination<RoleInfo> queryPage(RoleInfoQuery query);

	public List<RoleInfo> queryAll();
}
